-----------------------------------
-- Area: Port Bastok
-- NPC: Valeriano
-- Standard Merchant NPC
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	
player:showText(npc,VALERIANO_SHOP_DIALOG);

stock = {0x112a,10,		-- Ginger Cookie  
	 0x43c1,43,		-- Flute 
	 0x43c3,990,		-- Piccolo 
	 0x1399,585,		-- Scroll of Scop's Operetta  
	 0x139a,16920,		-- Scroll of Puppet's Operetta 
	 0x1395,2916,		-- Scroll of Fowl Aubade 
	 0x13a3,2059,		-- Scroll of Advancing March 
	 0x13d0,90000,		-- Scroll of Goddess's Hymnus 
	 0x13b9,27140,		-- Scroll of Earth Carol II
	 0x13bb,28520,		-- Scroll of Water Carol II
	 0x1384,123880}		-- Scroll of Mage's Ballad III
 
showShop(player, STATIC, stock);
end; 

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;



